<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>首页</title>
<link rel="stylesheet" href="../css/style.css" media="all"> 
</head>

<body background="../images/mainbg.jpg">
<%--		<div class="clearfix" id="contentBox">
  <div id="first" class="buttonBox">
    <button style="color:#666; font-size:20px;">未审核人员</button>
    <div class="border"></div>
    <div class="border"></div>
  </div>

  <div id="first" class="buttonBox">
    <button style="color:#666; font-size:20px;">今日测试结果</button>
    <div class="border"></div>
    <div class="border"></div>
  </div>

<div id="first" class="buttonBox">
    <button style="color:#666; font-size:20px;">点我测试</button>
    <div class="border"></div>
    <div class="border"></div>
  </div>
        </div>--%>
<script type="text/javascript">
    function display(clock){
        var now=new Date();   //创建Date对象
        var year=now.getFullYear(); //获取年份
        var month=now.getMonth(); //获取月份
        var date=now.getDate();  //获取日期
        var day=now.getDay();  //获取星期
        var hour=now.getHours(); //获取小时
        var minu=now.getMinutes(); //获取分钟
        var sec=now.getSeconds(); //获取秒钟
        month=month+1;
        var arr_week=new Array("星期日","星期一","星期二","星期三","星期四","星期五","星期六");
        var week=arr_week[day];  //获取中文的星期
        var time=year+"年"+month+"月"+date+"日 "+week+" "+hour+":"+minu+":"+sec; //组合系统时间
        clock.innerHTML=time; //显示系统时间
    }
    window.onload=function(){
        window.setInterval("display(clock)", 1000);
    }
</script>
<div id="clock"style="text-align: center;font-size: 30px;"></div>
</body>
</html>